package com.crowbar.map.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.crowbar.map.entity.*;
import org.springframework.web.bind.annotation.RequestParam;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * (MapInfo)表服务接口
 *
 * @author makejava
 * @since 2025-01-03 16:31:20
 */
public interface MapInfoService extends IService<MapInfo> {

    List<LocationInfo> getCitys(EventsInfoReq eventsInfoReq);

    Map<String, List<MapInfo>> getMapInfo(MapInfoReq mapInfoReq);

//    Boolean addEvent(String eventName, String startDate, String endDate, String[] keywords);
    Boolean addEvent(EventsInfoReq eventsInfoReq);

    List<EventsInfo> getEventByName(EventsInfoReq eventsInfoReq) throws ParseException;

    List<EventsInfo> getAllEvents();

//    Boolean cityUpdateLocation(String city);

}

